package com.markyao.service;

import com.markyao.dao.pojo.MiaoshaOrder;
import com.markyao.dao.pojo.User;

public interface MiaoshaService {
    String createMiaoshaPath(User user, long goodsId);

    boolean checkPath(User user, long goodsId, String path);

    MiaoshaOrder findOrderByUidAndGoodId(Integer uid, Integer goodsId);

    void insertMiaoshaOrder(User user, Integer goodsId);
}
